package henkolib.events;

/**
 * This is a public interface for an Event.
 * Through this interface anyone can Subscribe to or Unscribscribe from an Event.
 * The actual Event object should be kept private and should be published by this interface.
 * @author Henko
 */

interface IPublicEvent<T> 
{
	public function Subscribe(func:EventArgs<T>->Void) : Void;
	public function Unsubscribe(func:EventArgs<T>->Void) : Void;
}